package game.core.objects
{
	import game.core.GameSystem;
	import game.core.util.Cache;
	
	public class PauseBall extends Ball
	{
		public function PauseBall()
		{
			super();
		}
		
		override public function execute():void {
			Cache.addCache(this.gName,this.data);// 增加一个存储,以后会用到验证
			CONFIG::debug {
				GameSystem.instance.addPauseTime(100000);
			}
			GameSystem.instance.pause();
			GameSystem.instance.removeGameObject(this);
		}
	}
}